package test1223;

public class Test08 {
    public static void main(String[] args) {

        // 求5*4*3*2*1乘机
        int result = 1;
        for (int i = 5; i >= 1; i--) {
            result *= i;
        }
        System.out.println("上述数字乘积结果为：" + result);
    }
}